import request from '@/utils/request'

// 查询压力传感器设备参数列表
export function listPressureSensorParam(query) {
  return request({
    url: '/device/pressureSensorParam/list',
    method: 'get',
    params: query
  })
}

// 查询压力传感器设备参数详细
export function getPressureSensorParam(id) {
  return request({
    url: '/device/pressureSensorParam/' + id,
    method: 'get'
  })
}

// 新增压力传感器设备参数
export function addPressureSensorParam(data) {
  return request({
    url: '/device/pressureSensorParam',
    method: 'post',
    data: data
  })
}

// 修改压力传感器设备参数
export function updatePressureSensorParam(data) {
  return request({
    url: '/device/pressureSensorParam',
    method: 'put',
    data: data
  })
}

// 删除压力传感器设备参数
export function delPressureSensorParam(id) {
  return request({
    url: '/device/pressureSensorParam/' + id,
    method: 'delete'
  })
}
